#pragma once
#include "CachedQueue.h"
#include "StateMachine.h"

class CResample
{
	double m_dResampleRate;
	double  m_dPos;
	ULONG64 m_nPos;
	int     m_nA;
public:
	CResample(const double & dResampleRate = 1.0);
	virtual ~CResample(void);
	void Init(void);
	BOOL Add(const CCachedQueue<CFrame> & queue, SHORT & nResult);
};
